﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MainLayout.master" AutoEventWireup="false" CodeFile="propertyType.aspx.vb" Inherits="propertyType" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div >
    <h1>Property Type</h1>
<hr />

<asp:label ID="lblStaffUID" runat="server" Visible="false" />

<div  runat="server" id="divError" class="msg-box-error" visible="false" enableviewstate="false">
    
        <span class="title">Error</span><br />
        <asp:Label ID="lblMsgError" runat="server" Text="ERROR" />
        </div>
<div  runat="server" id="divSuccessful" class="msg-box-success" visible="false" enableviewstate="false">
    
        <span class="title">Successful</span><br />
        <asp:Label ID="lblMsgSuccessful" runat="server" Text="Success" />
    
</div>

<p><%--Description of the page--%></p>
<table class="searchbox" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td valign="bottom"><div class="header"><asp:ImageButton ID="imgNewPropertyType" runat="server" ImageUrl="~/images/style01/AddNewButton-Property.png" Width="80" Height="20" AlternateText=" Add New Property" /><img src="images/style01/search-box-divider.gif" width="2" height="20" class="search-divider" /></div></td>
        <td align="right"><div style="width:103px;"><div class="search-input-wrapper"><asp:TextBox ID="txtSearch" runat="server" CssClass="search-input"  /></div><div class="search-icon-wrapper"><asp:Button ID="btnSearch" runat="server" Text=""  CssClass="search-icon"/></div></div></td>
    </tr>
</table>






<!--Result Pane Here-->
        
<table class="ResultPanelContainer" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td>
            <table class="ResultPanelHeader" border="0" width="100%">
                <tr>
                    <td><asp:label ID="lblHeadNoOfItem" runat="server" text="0" />&nbsp;items total</td>
                    <td align="right">
                        Number of entries per page : <asp:LinkButton ID="lnkHead10Item" runat="server" Text="10" />&nbsp;<asp:LinkButton ID="lnkHead25Item" runat="server" Text="25" />&nbsp;<asp:LinkButton ID="lnkHead100Item" runat="server" Text="100" />&nbsp;<asp:LinkButton ID="lnkHead150Item" runat="server" Text="150" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
           
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="ResultPanelDataDisplay">
            <thead>
                <tr>
                    
                    
                    <th scope="col" id="first-col"><strong><asp:LinkButton ID="lnkType" runat="server" Text="Property Type▼"  ForeColor="Black" style="text-decoration:none" /></strong></th>
                    <th scope="col"><strong><asp:LinkButton ID="lnkTypeDesc" runat="server" Text="Property Type Description▼"  ForeColor="Black" style="text-decoration:none" /></strong></th>
                    <th scope="col">&nbsp;</th>
                </tr>
            </thead>
                <tbody>
                <asp:Repeater ID="repPropertyType" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td id="first-col"><asp:Label ID="lblRepPropertyTypeUID" runat="server" Text='<%#Container.dataitem("TypeId").tostring %>' Visible="false" /><asp:Label ID="lblRepPropertyType" runat="server" Text='<%#Container.DataItem("Type").ToString%>' /></td>
                            <td><asp:Label ID="lblRepProperTypeDesc" runat="server" Text='<%#Container.DataItem("TypeDesc").ToString%>' /></td>
                            <td><asp:ImageButton ID="imgRepEdit" runat="server" ImageUrl="~/images/style01/EditButton.png" style="vertical-align:middle;" AlternateText="Edit" CommandName="EditItem" CommandArgument='<%# DataBinder.Eval(Container,"ItemIndex") %>' />&nbsp;<asp:ImageButton ID="imgRepDelete" runat="server" ImageUrl="~/images/style01/DeleteButton.png" style="vertical-align:middle;" AlternateText="Delete" CommandName="DeleteItem" CommandArgument='<%# DataBinder.Eval(Container,"ItemIndex") %>' /><cc1:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText="Delete" TargetControlID="imgRepDelete" /></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                </tbody>
            </table>
            
      </td>
    </tr>
    <tr>
        <td>
            <table class="ResultPanelFooter" width="100%">
                <tr>
                    <td><asp:label ID="lblFootNoOfItem" runat="server" text="0" />&nbsp; items total</td>
                    <td align="center" valign="middle">
                        <asp:Panel ID="pnlNavigation" runat="server" style="text-align:center; vertical-align:middle;">
                                <asp:ImageButton ImageUrl="images/style01/Btn-jump-first.png"   ID="btnMoveFirst"  runat="server" Width="28"  Height="18" style="vertical-align:middle;"/>&nbsp;
                                <asp:ImageButton ImageUrl="images/style01/Btn-jump-back.png"    ID="btnPrevious"   runat="server" Width="28"  Height="18" style="vertical-align:middle;"/>&nbsp;
                                <asp:TextBox ID="txtPageNo" runat="server" Text="1" Height="12" Width="28" Font-Size="10px" style="text-align:center; vertical-align:middle;" onkeypress="return isNumberKeyOnly(event)" onpaste="return isNumberKeyOnly(event)" />&nbsp;
                                <asp:Label ID="lblTotalPage" runat="server" Height="20" Font-Size="10px" style="vertical-align: middle;"/>&nbsp;
                                <asp:ImageButton ImageUrl="images/style01/Btn-jump-go.png"      ID="btnGo"          runat="server"  Width="28" Height="18" style="vertical-align:middle;"/>&nbsp;
                                <asp:ImageButton ImageUrl="images/style01/Btn-jump-foward.png"  ID="btnNext"        runat="server"  Width="28" Height="18" style="vertical-align:middle;"/>&nbsp;
                                <asp:ImageButton ImageUrl="images/style01/Btn-jump-last.png"    ID="btnMoveLast"    runat="server"  Width="28" Height="18" style="vertical-align:middle;"/>
                                <asp:Label ID="lblMaxPageCount" runat="server" Visible="false" Height="20" Font-Size="10px" style="vertical-align:middle;"/>
                      </asp:Panel>
                    </td>
                    <td align="right">
                        Number of entries per page : <asp:LinkButton ID="lnkFoot10Item" runat="server" Text="10" />&nbsp;<asp:LinkButton ID="lnkFoot25Item" runat="server" Text="25" />&nbsp;<asp:LinkButton ID="lnkFoot100Item" runat="server" Text="100" />&nbsp;<asp:LinkButton ID="lnkFoot150Item" runat="server" Text="150" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

<!-- For Popup -->
 <asp:Panel ID="pnlEntry" runat="server" CssClass="modalPopup" Style="display: none" Width="60%">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="PopupContainer">
        <tr>
            <td style="width:30px; height:41px" background="images/style01/PopupHead-top-left.gif">
            </td>
            <td background="images/style01/PopupHead-top-middle.gif" valign="bottom">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="PopupHeader">
                <thead>
                    <tr>
                        <td align="center" style="text-align:center; text-indent: 20px;" height="30"><asp:Label ID="lblEntryTitle" runat="server" Text="Property Type Detail" /></td>
                        <td align="right" style="text-align:right"><asp:ImageButton ID="imgButClose" runat="server" Width="20px" Height="20px" AlternateText="Close" ImageUrl="~/images/style01/Btn-Close.png" /> </td>
                    </tr>
                 </thead>
                </table>    
            </td>
            <td style="width:30px; height:41px" background="images/style01/PopupHead-top-right.gif">
            </td>
        </tr>
        <tr >
        <td valign="top" height="100%"><img src="images/style01/Popup-Desc-left.gif" width="30" height="100%" /></td>
        <td bgcolor="#FFFFFF" valign="top" ><div class="PopupDesc"  style="background:url(images/style01/Popup-Desc-middle.gif) repeat-x;  height:60px; overflow:auto; padding: 0px 20px 0px 20px; "><asp:Label ID="lblEntryDesc" runat="server" Text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type" /></div></td>
        <td valign="top" height="100%"><img src="images/style01/Popup-Desc-right.gif" width="30" height="100%" /></td>
        </tr>
        <tr>
            <td style="width:30px" background="images/style01/Popup-left-middle.gif"></td>
            <td bgcolor="#FFFFFF">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="PopupDataDisplay">
                    <tr>
                        <td colspan="2"><div style="border-bottom:1px solid #CCC; height:5px; display:none;"></div></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:UpdatePanel ID="upNewEntry" runat="server">
                            <ContentTemplate>
                                <table class="PopupDataDisplay">
                                    <tr>
                                        <td style="text-align:left; vertical-align:middle" width="300">
                                            Property Type
                                        </td>
                                        <td width="200">
                                            <asp:TextBox ID="txtPropertyType" runat="server" Width="200px" /> 
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left; vertical-align:middle">
                                            Property Type Description
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtPropertyTypeDesc" runat="server" Width="200px" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left; vertical-align:middle">
                                            
                                        </td>
                                        <td>
                                            
                                        </td>
                                    </tr>

                                </table>
                            </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>                       
                    </tr>
                    <tr>
                        <td style="text-align:left; vertical-align:middle; padding-left:20px;" width="100">
                            
                        </td>
                        <td >
                            
                            
                        </td>
                        <td ></td>
                    </tr>
                </table>
            </td>
            
            <td style="width:30px" background="images/style01/Popup-right-middle.gif"></td>
        </tr>
        <tr>
            <td style="width:30px; height:55px" background="images/style01/Popup-bottom-left.gif"></td>
            <td style="text-align:right" background="images/style01/Popup-bottom-middle.gif"><asp:Label ID="lblPropertyTypeUID" runat="server" Visible="false" /><asp:Button ID="btnSave" runat="server" Text="Save" />&nbsp;  <asp:Button ID="BtnCancel" runat="server" Text="Cancel" /></td>
            <td style="width:30px; height:55px" background="images/style01/Popup-bottom-right.gif"></td>
        </tr>
    </table>
 </asp:Panel>
 <asp:Button ID="btnHiddenNew" runat="server" style="display:none" />
  <cc1:ModalPopupExtender ID="mpeEntry" runat="server" Drag="false" BackgroundCssClass="modalBackground"
        DropShadow="false" PopupControlID="pnlEntry" TargetControlID="btnHiddenNew" EnableViewState="True" OkControlID="btnCancel" >
  </cc1:ModalPopupExtender>
<!-- End Popup -->
 <%--added @ 2/4/2011 by minginn - to allow user sort the result--%>
<asp:Label ID="lblHidSortType" runat="server" Visible="false" Text=" ORDER BY Type ASC, TypeDesc ASC" />

    </div>
</asp:Content>

